<form action="<?php echo $tpl_form->s_action?>" method="<?php echo $tpl_form->s_method?>" enctype="<?php echo $tpl_form->s_enctype?>">
	<?php foreach ($tpl_form->a_fields as $o_field):?>
		<?php echo $o_field->render();?>
	<?php endforeach?>
	<?php if($tpl_form->b_autosubmit):?>
	<p class="submit">
		<button type="submit" value="<?php echo $tpl_form->s_request?>" name="<?php echo $tpl_form->s_request?>" id="<?php echo $tpl_form->s_request?>"><?php echo $tpl_form->s_submittext?></button>
		<button type="reset" name="reset"><?php echo $tpl_form->s_resettext?></button>
	</p>
	<?php endif?>
</form>
